<?php
declare(strict_types=1);
namespace App\Service\Topic\Notice;
use Auth;
class NoticeShow implements NoticeShowInterface {
    public function index():object{
        Auth::user()->markAsRead();
        return Auth::user()->notifications()->paginate(20);
    }
}
